package com.logos.multiThread;

public class test02 {

    public static void main(String[] args) {
        MyRunnable mr = new MyRunnable();
        Thread t1 = new Thread(mr);
        t1.setName("线程1");
        t1.start();
        Thread t2 = new Thread(mr);
        t2.setName("线程2");
        t2.start();
    }
}
